package com.mustafaiev.tair.autobase.order;

/**
 * Orders data transfer object
 * 
 * @author Tair Mustafaiev
 * @version 0.1
 * 
 */
public class ClientOrder {

	private String order;
	/**
	 * client name
	 */
	private String name;
	/**
	 * client phone
	 */
	private String phone;
	private int id;
	private String driverName;
	private int driverId;
	private long createDate;

	/**
	 * Default constructor of the class
	 */
	public ClientOrder() {
	}

	/**
	 * 
	 * @param id
	 * @param order
	 * @param name
	 * @param phone
	 */
	public ClientOrder(int id, String order, String name, String phone) {
		this.id = id;
		this.order = order;
		this.name = name;
		this.phone = phone;

	}

	/**
	 * @param order
	 */
	public void setOrder(String order) {
		this.order = order;
	}

	/**
	 * @return String order
	 */
	public String getOrder() {
		return order;
	}

	/**
	 * @param name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return String name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param phone
	 */
	public void setPhone(String phone) {
		this.phone = phone;
	}

	/**
	 * @return String phone
	 */
	public String getPhone() {
		return phone;
	}

	/**
	 * @param id
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * @return int id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param driverId
	 */
	public void setDriverId(int driverId) {
		this.driverId = driverId;
	}

	/**
	 * @return int driverId
	 */
	public int getDriverId() {
		return driverId;
	}

	/**
	 * @param createDate
	 */
	public void setCreateDate(long createDate) {
		this.createDate = createDate;
	}

	/**
	 * @return long createDate
	 */
	public long getCreateDate() {
		return createDate;
	}

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    public String getDriverName() {
        return driverName;
    }
}
